package com.cx.mall.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController//注释：这是一个控制器
public class HelloController {
    @GetMapping("/hello")//注解：uri
    public String hello(){
        return "Hello SpringBoot!";
    }
    @GetMapping("/show")
    public String showMe(){
        return "A 三哥";
    }
}
